﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TBlog.Web.Models.ModelMap
{
    public class CategoryMap : BaseEntityTypeConfiguration<Category>
    {
        public CategoryMap()
        {
            HasKey(c => c.ID);
            ToTable("Categorys");
           // Property(o => o._CreateTime);
            //HasMany(o=>o.Article).WithMany(o=>o.CategoryID=o.Category.ID)
        }
    }
}